summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-12-02 20:04:17 +0900
committerjoonhoekim <26rote@gmail.com>2025-12-02 20:04:17 +0900
commit7bdddbacf8610140c0c9db7ccb09d546203ce380 (patch)
treec59df43eac4c256d54dbea9491e1604535551230 /app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx
parent87ab8fa7aa845e3aa56941d9eeaba03f36f4b3d3 (diff)
(김준회) 메뉴명과 화면 내 h태그 일치 시키기, i18n 적용
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx
index 7f04cc3e..43023429 100644
--- a/app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx
+++ b/app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx
@@ -10,13 +10,18 @@ import { ItemsTable } from "@/lib/items/table/items-table"
import { getFormLists } from "@/lib/form-list/service"
import { FormListsTable } from "@/lib/form-list/table/formLists-table"
import { InformationButton } from "@/components/information/information-button"
+import { useTranslation } from "@/i18n"
interface IndexPageProps {
+ params: Promise<{ lng: string }>
searchParams: Promise<SearchParams>
}
export default async function IndexPage(props: IndexPageProps) {
+ const { lng } = await props.params
+ const { t } = await useTranslation(lng, 'menu')
+
const searchParams = await props.searchParams
const search = searchParamsCache.parse(searchParams)
@@ -37,7 +42,7 @@ export default async function IndexPage(props: IndexPageProps) {
<div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 레지스터 목록 from S-EDP
+ {t('menu.master_data.form_register')}
</h2>
<InformationButton pagePath="evcp/form-list" />
</div>